//
//  IntegralListModel.m
//  BXlive
//
//  Created by bxlive on 2017/5/18.
//  Copyright © 2017年 cat. All rights reserved.
//

#import "IntegralListModel.h"

@implementation IntegralListModel

//+(NSDictionary *)replacedKeyFromPropertyName{
//    
//    return @{@"cid":@"id"};
//    
//}

/*
 @property (nonatomic, copy) NSString *avatar;
 @property (nonatomic, copy) NSString *sign;
 @property (nonatomic, copy) NSString *nickname;
 @property (nonatomic, copy) NSString *create_time;
 @property (nonatomic, copy) NSString *user_id;
 */
- (instancetype)initWithDict:(NSDictionary *)dict{
    if (self = [super init]) {
        self.avatar = [NSString stringWithFormat:@"%@",dict[@"user"][@"avatar"]];
        self.sign = [NSString stringWithFormat:@"%@",dict[@"user"][@"sign"]];
        self.nickname = [NSString stringWithFormat:@"%@",dict[@"user"][@"nickname"]];
        self.create_time = [NSString stringWithFormat:@"%@",dict[@"create_time"]];
        self.user_id = [NSString stringWithFormat:@"%@",dict[@"user"][@"user_id"]];
    }
    return self;
}
+ (instancetype)appInfoWithDict:(NSDictionary *)dict
{
    return [[self alloc] initWithDict:dict];
}

@end
